//
//  UIImageView+SetImageView.m
//  KaKaFastCarDriver
//
//  Created by LiXiqing on 16/12/3.
//  Copyright © 2016年 LiXiQing. All rights reserved.
//

#import "UIImageView+SetImageView.h"

@implementation UIImageView (SetImageView)
-(void)setHeaderImage:(NSString *)url placeholder:(NSString *)imageName
{
    
    NSString *strUrl = [url stringByReplacingOccurrencesOfString:@"\\" withString:@"/"];
//    UIImage *placeholder =[[UIImage imageNamed:imageName] circleImage];
//    [self sd_setImageWithURL:[NSURL URLWithString:strUrl] placeholderImage:placeholder completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
//        self.image =image?[image circleImage]:placeholder;
//    }];

}
@end
